<#include "../inc/layout.html"/>
<@layout title='管理团队'>
<#include "../inc/pageHeader.html"/>
<div class="w1240">
        <div class="ldmain">
            <#if leaderList??&& leaderList?size gt 0>
            <div class="ldbox auto" style="float: none; width: 1210px;">
                <div class="ldboxcon auto" style="width: 1180px;">
                    <div class="ldtext auto" style="width: 940px;">
                        <div class="ldname auto">
                            <span>${leaderList[0].name!}</span>
                            <p style="">
                               ${leaderList[0].job}
                            </p>
                        </div>
                        ${leaderList[0].summary!}
                    </div>
                    <div class="ldimg auto" style="width: 200px;">
                        <img src="${leaderList[0].img!}" style="width: 200px; height: 229px;">
                    </div>
                </div>
            </div>
            </#if>
            <#if leaderList??&& leaderList?size gt 0>
                <#list leaderList as l>
                    <#if l_index gt 0>
                    <div class="ldbox auto" style="margin-left:12px;">
                        <div class="ldboxcon auto">
                            <div class="ldtext auto">
                                <div class="ldname auto">
                                    <span>${l.name!}</span>
                                    <p style="">
                                        ${l.job}
                                    </p>
                                </div>
                                <div id="${l.id}" style="display:none;">
                                    <p><b>${l.name}</b></p>
                                    <p>${l.job}</p>
                                    <br>
                                    <p>${l.summary!}</p></div>
                                    <#if l.summary?length gt 150>${l.summary?substring(0,150)}...
                                    <a href="javascript:void(0)" style="float: right;" onclick="showMore('${l.name}','${l.id}')">更多>></a><#else>${l.summary!}</#if>
                            </div>
                            <div class="ldimg auto" style="width: 200px;">
                                <img src="${l.img!}" style="width: 200px; height: 229px;">
                            </div>
                        </div>
                    </div>
                    </#if>
                </#list>
            </#if>
        </div>
</div>
<div style="clear: both"></div>
<script>
    var showMore=function(title,_id){
        layer.alert($("#"+_id).html(),{title:title+"简介",btn:[],area:['700px','400px'],shade:0});
    }
</script>
</@layout>